package com.cy.sys.pojo;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
/**
 * 此类负责封装所有用户数据
 * @author private
 *
 */
@Data
public class SysUser implements Serializable{
	private static final long serialVersionUID = -1338376800342763728L;
	private Integer id;
	private String username;
	private String password;
	private String salt;
	private String email;
	private String mobile;
	private Integer valid = 1;
	private Integer deptId;
	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	private Date createdTime;
	private Date modifiedTime;
	private String createdUser;
	private String modifiedUser;
}
